import style from "./index.module.css"

type Props = {
  title: string
  children?: React.ReactNode
}
export const PageTitle = ({ title, children }: Props) => {
  return (
    <div className={style.titleWrapper}>
      {/* 标题 */}
      <div className={style.title}>{title}</div>
      {/* 标签组 */}
      <div className={style.tagsWrapper}>{children}</div>
    </div>
  )
}
